import React from 'react'
import ReactDOM from 'react-dom'
import App from './App'
// redux针对于react框架来定制一个数据接受高级组件
import { Provider } from 'react-redux'

// 指定路由的模式
import { BrowserRouter as Router } from 'react-router-dom'

// 引入状态仓库
import store from './store'



ReactDOM.render(
  <Provider store={store}>
    <Router>
      <App />
    </Router>
  </Provider>,
  document.getElementById('root')
)

